package com.project.api.common;

import org.springframework.stereotype.Repository;

@Repository
public class JsonMsg {
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public  int code=-1;//-1失败,0成功,-2未登录
    public  String msg="";//信息描述
    public  Object data;//数据
}